import 'package:fish_redux/fish_redux.dart';
import 'package:flutter/material.dart';

class DeviceLogDetailState implements Cloneable<DeviceLogDetailState> {
  String time = '';
  String url = '';
  List<String> msgList = List();
  List<String> msgFliterList = List();
  TextEditingController mController = TextEditingController();
  @override
  DeviceLogDetailState clone() {
    return DeviceLogDetailState()
      ..url = url
      ..msgList = msgList
      ..msgFliterList = msgFliterList
      ..mController = mController
      ..time = time;
  }
}

DeviceLogDetailState initState(Map<String, dynamic> args) {
  return DeviceLogDetailState()
    ..url = args['url']
    ..time = args['time'];
}
